package com.kay.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
@RequestMapping
public class HelloController {
    @GetMapping("hello")
    public String hello(){
        return "Hello!\n This is a test for Jenkins" + LocalDateTime.now();
    }
}
